import request from '@/utils/request'

export function listAr(pos, size, conditions) {
  return request({
    url: '/ar/list',
    params: {
      'jsonCondition': JSON.stringify(conditions),
      'pos': pos,
      'size': size
    },
    method: 'get'
  })
}
export function listCash(pos, size, conditions) {
  return request({
    url: '/billrecord/listcash',
    params: {
      'jsonCondition': JSON.stringify(conditions),
      'pos': pos,
      'size': size
    },
    method: 'get'
  })
}

export function listAll(pos, size, conditions) {
  return request({
    url: '/billrecord/listall',
    params: {
      'jsonCondition': JSON.stringify(conditions),
      'pos': pos,
      'size': size
    },
    method: 'get'
  })
}
